﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MedicinaMuncii.Entities.MedicalAdvice>"
    Theme="Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%: Resources.Global.MedicalAdviceCreatePageTitle %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        <%: Resources.Global.MedicalAdviceCreatePageTitle %>
    </h2>
    <% using (Html.BeginForm())
       {%>
    <%: Html.ValidationSummary(true) %>
    <fieldset>
        <legend>
            <%: Resources.Global.FieldsLabel %>
        </legend>
        <table cellspacing="0" cellpadding="0" class="inputarea">
            <tr>
                <td>
                    <%: Resources.Global.NameLabel %>
                </td>
                <td>
                    <%: Html.TextBoxFor(model => model.Name) %>
                    <%: Html.ValidationMessageFor(model => model.Name) %>
                </td>
            </tr>
        </table>
    </fieldset>
    <div class="edit-button-bar">
        <button class="t-grid-action t-button t-state-default t-grid-update" type="submit">
            <span class="t-icon t-update"></span>
            <%: Resources.Global.CreateLabel %>
        </button>
        <a class="t-grid-action t-button t-state-default t-grid-cancel" href="<%=Url.Action("Index", "MedicalAdvice")%>">
            <span class="t-icon t-cancel"></span>
            <%: Resources.Global.CancelLabel %>
        </a>
    </div>
    <% } %>
</asp:Content>
